package com.ruoyi.vehicle.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 站点关联对象 route_station_realtion
 * 
 * @author yyj
 * @date 2025-08-16
 */
public class RouteStationRealtion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "关联id")
    private Long realtionId;

    /** 关联线路id */
    @Excel(name = "关联线路id")
    private Long routeId;

    /** 关联站点id */
    @Excel(name = "关联站点id")
    private Long stationId;

    /** 站点类型：1上车点：2下车点 */
    @Excel(name = "站点类型：1上车点：2下车点")
    private String stationType;

    /** 预计耗时（分钟） */
    @Excel(name = "预计耗时", readConverterExp = "分=钟")
    private Long estimateTime;

    /** 站点到这条线路顺序 */
    @Excel(name = "站点到这条线路顺序")
    private Long sortOrder;

    public void setRealtionId(Long realtionId) 
    {
        this.realtionId = realtionId;
    }

    public Long getRealtionId() 
    {
        return realtionId;
    }

    public void setRouteId(Long routeId) 
    {
        this.routeId = routeId;
    }

    public Long getRouteId() 
    {
        return routeId;
    }

    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }

    public void setStationType(String stationType) 
    {
        this.stationType = stationType;
    }

    public String getStationType() 
    {
        return stationType;
    }

    public void setEstimateTime(Long estimateTime) 
    {
        this.estimateTime = estimateTime;
    }

    public Long getEstimateTime() 
    {
        return estimateTime;
    }

    public void setSortOrder(Long sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() 
    {
        return sortOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("realtionId", getRealtionId())
            .append("routeId", getRouteId())
            .append("stationId", getStationId())
            .append("stationType", getStationType())
            .append("estimateTime", getEstimateTime())
            .append("sortOrder", getSortOrder())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
